FROM registry.k8s.cloud/python:3.7.5

COPY . /server
WORKDIR /server

RUN pip install -r requirements.txt -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com
EXPOSE 8080
CMD ["python", "manage.py", "runserver", "0.0.0.0:8080"]
